<?php

/**
 * SocialEngine
 *
 * @category   Application_Extensions
 * @package    Sitealbum
 * @copyright  Copyright 2010-2011 BigStep Technologies Pvt. Ltd.
 * @license    http://www.socialengineaddons.com/license/
 * @version    $Id: content.php 2011-08-026 9:40:21Z SocialEngineAddOns $
 * @author     SocialEngineAddOns
 */
$view = Zend_Registry::isRegistered('Zend_View') ? Zend_Registry::get('Zend_View') : null;
return array(
    array(
        'title' => $view->translate('Albums Navigation Tabs'),
        'description' => $view->translate('Displays the Navigation tabs having links of Albums Home, Browse Albums, My Albums, etc. This widget should be placed at the top of Albums Home page.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.nevigation',
        'defaultParams' => array(
        ),
        'adminForm' => array(
            'elements' => array(
            )
        ),
    ),
    array(
        'title' => $view->translate('Albums Search Form'),
        'description' => $view->translate('Displays album search form. This widget should be placed on the Album home page.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.search-albums-form',
        'defaultParams' => array(
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('Featured Albums Slideshow'),
        'description' => $view->translate('Displays featured albums in an attractive slideshow. You can set the count of the number of albums to show in this widget. If the total number of albums featured are more than that count, then the albums to be displayed will be sequentially picked up.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.featured-albums-slideshow',
        'isPaginated' => true,
        'defaultParams' => array(
            'title' => 'Featured Albums',
            'itemCountPerPage' => 10,
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('Featured Albums'),
        'description' => $view->translate('Displays Featured Albums as chosen by you. You can set the count of the number of albums to show in this widget. If the total number of albums featured are more than that count, then the albums to be displayed will be randomly picked up.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.featured-albums',
        'isPaginated' => true,
        'defaultParams' => array(
            'title' => 'Featured Albums',
            'itemCountPerPage' => 4,
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('Album of the Day'),
        'description' => $view->translate('Displays the Album of the Day as selected by the Admin from the widget settings section of Advanced Photo Albums Plugin.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.album-of-the-day',
        'defaultParams' => array(
            'title' => 'Album of the Day'
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('Featured Photos Carousel'),
        'description' => $view->translate('This widget contains an attractive AJAX based carousel, showcasing the featured photos on the site. Multiple settings of this widget makes it highly configurable.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.featured-photos-carousel',
        'defaultParams' => array(
            'title' => 'Featured Photos',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Radio',
                    'vertical',
                    array(
                        'label' => 'Carousel Type',
                        'multiOptions' => array(
                            '0' => 'Horizontal',
                            '1' => 'Vertical',
                        ),
                        'value' => 0,
                    )
                ),
                array(
                    'Text',
                    'inOneRow',
                    array(
                        'label' => 'Photos in a Row',
                        'description' => '(number of photos to show in one row)',
                        'value' => 3,
                    )
                ),
                array(
                    'Text',
                    'noOfRow',
                    array(
                        'label' => 'Rows',
                        'description' => '(number of rows in one view)',
                        'value' => 2,
                    )
                ),
                array(
                    'Text',
                    'interval',
                    array(
                        'label' => 'Speed',
                        'description' => '(transition interval between two slides in millisecs)',
                        'value' => 250,
                    )
                ),
            ),
        ),
    ),
    array(
        'title' => $view->translate('Featured Photos'),
        'description' => $view->translate('Displays Featured Photos as chosen by you. You can set the count of the number of photos to show in this widget. If the total number of photos featured are more than that count, then the photos to be displayed will be randomly picked up.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.featured-photos',
        'isPaginated' => true,
        'defaultParams' => array(
            'title' => 'Featured Photos',
            'itemCountPerPage' => 4,
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('Photo of the Day'),
        'description' => $view->translate('Displays the Photo of the Day as selected by the Admin from the widget settings section of Advanced Photo Albums Plugin.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.photo-of-the-day',
        'defaultParams' => array(
            'title' => 'Photo of the Day'
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('Ajax based Tabbed widget for Albums'),
        'description' => $view->translate('Displays the Recent, Most Liked, Most Viewed, Most Commented and Featured Albums in separate AJAX based tabs. Settings for this widget are available in the Widget Settings section of Advanced Albums Plugin.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.list-albums-tabs-view',
        'defaultParams' => array(
            'title' => 'Albums',
            'margin_photo'=>12,
            'showViewMore'=>1
        ),
         'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'margin_photo',
                    array(
                        'label' => 'Horizontal Margin between Elements',
                        'description' => '(Horizontal margin in px between consecutive elements in this widget. You might want to change this value if the content of this widget is not coming properly on your site because of the column width in your theme.)',
                        'value' => 12,
                    )
                ),
                 array(
                  'Radio',
                  'showViewMore',
                  array(
                      'label' => 'Show "View More" link',
                      'multiOptions' => array(
                          '1' => 'Yes',
                          '0' => 'No',
                      ),
                  )
              )
            ),
        ),
    ),
    array(
        'title' => $view->translate('Ajax based Tabbed widget for Photos'),
        'description' => $view->translate('Displays the Recent, Most Liked, Most Viewed, Most Commented and Featured Photos in separate AJAX based tabs. Settings for this widget are available in the Widget Settings section of Advanced Albums Plugin.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.list-photos-tabs-view',
        'defaultParams' => array(
            'title' => 'Photos',
            'margin_photo'=>12,
            'showViewMore'=>1
        ),
         'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'margin_photo',
                    array(
                        'label' => 'Horizontal Margin between Elements',
                        'description' => '(Horizontal margin in px between consecutive elements in this widget. You might want to change this value if the content of this widget is not coming properly on your site because of the column width in your theme.)',
                        'value' => 12,
                    )
                ),
                 array(
                    'Radio',
                    'showViewMore',
                    array(
                        'label' => 'Show "View More" link',
                        'multiOptions' => array(                          
                            '1' => 'Yes',
                            '0' => 'No',
                        ),                       
                    )
                )
            ),
        ),
    ),
    array(
        'title' => $view->translate('Album Photos'),
        'description' => $view->translate('Displays the photos of a particular album. This widget should be placed on the Album View Page.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.album-view',
        'isPaginated' => true,
        'defaultParams' => array(
            'titleCount' => true,
            'itemCountPerPage' => 40,
            'margin_photo'=>12
        ),
         'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'margin_photo',
                    array(
                        'label' => 'Horizontal Margin between Elements',
                        'description' => '(Horizontal margin in px between consecutive elements in this widget. You might want to change this value if the content of this widget is not coming properly on your site because of the column width in your theme.)',
                        'value' => 12,
                    )
                ),
            ),
        ),
    ),
    array(
        'title' => $view->translate('Like Button for Photo'),
        'description' => $view->translate('This is the Like Button for photos. It should be placed on the Photo View Page if needed.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.like-button',
        'defaultParams' => array(
            'titleCount' => false,
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('In this Album'),
        'description' => $view->translate('Displays members who are tagged in the photos of an album. This widget should be placed on the Album View Page. It contains a count setting for the max number of members to be shown. There is also a See More link in this widget.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.inthis-album',
        'isPaginated' => true,
        'defaultParams' => array(
            'itemCountPerPage' => 3,
            'titleCount' => true,
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('You and Owner'),
        'description' => $view->translate('Displays the photos in which both the viewer and the album owner are tagged. This widget should be placed on the Album View Page.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.you-and-owner',
        'isPaginated' => true,
        'defaultParams' => array(
            'itemCountPerPage' => 2,
            'titleCount' => true,
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate("Friends' Album Photos"),
        'description' => $view->translate('Randomly displays albums and their photos from the member\'s friends\' albums.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.friends-photo-albums',
        'defaultParams' => array(
            'itemCountAlbum' => 2,
            'itemCountPhoto' => 2,
            'titleCount' => true,
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Text',
                    'itemCountAlbum',
                    array(
                        'label' => 'Count',
                        'description' => '(number of albums to show)',
                        'value' => 2,
                    )
                ),
                array(
                    'Text',
                    'itemCountPhoto',
                    array(
                        'label' => 'Count',
                        'description' => '(number of photos to show for each album)',
                        'value' => 2,
                    )
                ),
            ),
        ),
    ),
    array(
        'title' => $view->translate("Friends' Photos"),
        'description' => $view->translate('Randomly displays photos of the member\'s friends.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.friends-photos',
        'defaultParams' => array(           
            'itemCountPhoto' => 2,
            'titleCount' => true,
        ),
        'adminForm' => array(
            'elements' => array(               
                array(
                    'Text',
                    'itemCountPhoto',
                    array(
                        'label' => 'Count',
                        'description' => '(number of photos to show)',
                        'value' => 2,
                    )
                ),
            ),
        ),
    ),
    array(
        'title' => $view->translate('View Photo'),
        'description' => $view->translate('This is the widget for the photo on the Photo View Page. It should be placed on the Photo View Page.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.photo-view',
        'defaultParams' => array(
            'titleCount' => false,
            'itemCountPerPage' => 4,
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('Popular Albums'),
        'description' => $view->translate('Displays most popular albums. There is a setting for the parameter for popularity such as Views, Comments and Likes.'),
         'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.list-popular-albums',
        'isPaginated' => true,
        'defaultParams' => array(
            'title' => 'Popular Albums',
            'itemCountPerPage' => 4,
        ),
        'requirements' => array(
            'no-subject',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Radio',
                    'popularType',
                    array(
                        'label' => 'Popular Type',
                        'multiOptions' => array(
                            'view' => 'Views',
                            'comment' => 'Comments',
                            'like' => 'Likes',
                        ),
                        'value' => 'comment',
                    )
                ),
            )
        ),
    ),
    array(
        'title' => $view->translate('Popular Photos'),
        'description' => $view->translate('Displays most popular photos. There is a setting for the parameter for popularity such as Views, Comments and Likes.'),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.list-popular-photos',
        'isPaginated' => true,
        'defaultParams' => array(
            'title' => 'Popular Photos',
            'itemCountPerPage' => 4,
        ),
        'requirements' => array(
            'no-subject',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Radio',
                    'popularType',
                    array(
                        'label' => 'Popular Type',
                        'multiOptions' => array(
                            'view' => $view->translate('Views'),
                            'comment' => $view->translate('Comments'),
                            'like' => $view->translate('Likes'),
                        ),
                        'value' => 'comment',
                    )
                ),
            )
        ),
    ),
    array(
        'title' => $view->translate('Recent Photos'),
        'description' => $view->translate('Displays the recent photos on the website.'),
         'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.list-recent-photos',
        'isPaginated' => true,
        'defaultParams' => array(
            'title' => 'Recent Photos',
            'itemCountPerPage' => 4,
        ),
        'requirements' => array(
            'no-subject',
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Radio',
                    'recentType',
                    array(
                        'label' => 'Recent Type',
                        'multiOptions' => array(
                            'creation' => 'Creation Date',
                            'modified' => 'Modified Date',
                        ),
                        'value' => 'creation',
                    )
                ),
            )
        ),
    ),
    array(
        'title' => $view->translate('Member Profile Albums and Photos'),
        'description' => $view->translate('Displays a member\'s albums on their profile and the photos that they have been tagged in. This widget should be placed on the Member Profile Page. It contains a count setting for the number of albums to show at one go.'),
         'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.profile-photos',
        'isPaginated' => true,
        'defaultParams' => array(
            'title' => 'Photos',
            'titleCount' => true,
            'itemCountPerPage' => 8
        ),
        'requirements' => array(
            'subject' => 'user',
        ),
        'adminForm' => array(
          'elements' => array(           
          )
        ),
    ),
    array(
        'title' => $view->translate('Member Profile Photos Strip'),
        'description' => $view->translate("Displays some photos out of all the albums of a member in a strip. Member can choose which photos to be shown in the strip by hiding the ones that should not be displayed. Hidden photos are replaced by new photos and so on. This widget should be placed on the Member Profile Page."),
        'category' => $view->translate('Advanced Albums'),
        'type' => 'widget',
        'name' => 'sitealbum.photo-strips',
        'isPaginated' => true,
        'defaultParams' => array(
            'title' => "",
            'titleCount' => "",
            'itemCountPerPage' => 7
        ),
        'adminForm' => array(
            'elements' => array(
                array(
                    'Radio',
                    'recentType',
                    array(
                        'label' => 'Show Photos Strip according to the:',
                        'multiOptions' => array(
                            'creation' => 'Creation Date',
                            'modified' => 'Modified Date',
                        ),
                        'value' => 'creation',
                    )
                ),
            )
        ),
    ),
)
?>